﻿#include <QFile>
#include "CControlButtonWidgetA.h"

CControlButtonWidgetA::CControlButtonWidgetA(QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	ui.pushButtonTalkBackFunc->setIsTagVisible(false);
	ui.pushButtonTalkBackClose->setIsTagVisible(true);
	ui.pushButtonLampLightOpen->setIsTagVisible(false);
	ui.pushButtonLampLightClose->setIsTagVisible(true);
	initUI();
}

CControlButtonWidgetA::~CControlButtonWidgetA()
{}

void CControlButtonWidgetA::initUI()
{
	QString sQssPath = ":/qss/styleSheet.css";
	QFile qss(sQssPath);
	qss.open(QFile::ReadOnly);
	this->setStyleSheet(qss.readAll());
}
